class ConsultaPessoaController < ApplicationController

   # GET /pupils
  # GET /pupils.xml
  def index
    
  end

  # GET /pupils/1
  # GET /pupils/1.xml
  def show
    @nome = params[:nome]
    @cpf = params[:cpf]
    @siape = params[:siape]
    if !@nome.blank? or !@cpf.blank? or !@siape.blank?
      @pessoas = ConsultaPerson.people @nome,@siape,@cpf,params[:page]
    end
    

    render :action => "show"
  end

  def index
    
  end

  def consultar_pessoa
    
  end

end
